#pragma once

#include <iostream>
#include <string>
#include <format_interface.hh>
#include <cJSON.h>
class disk_load : public format_interface{
    public:
        uint64_t get_available_free_space();
        //seconds
        uint64_t get_sysup_time();

        void get_disk_space(uint64_t& total_size,uint64_t& free_bytes);

        //static cJSON* get_disk_space();
        //static cJSON* get_sysup_time();

        virtual cJSON* to_json();
        virtual const char*  get_name();
        ~disk_load();
};